{% extends "home.html" %}
{% block header %}FoodExpert - New Recipe{% endblock %}
{% block title %} {% endblock %}
{% block navpanel %}
  <ul>
  <li id="bt_back" class="button"><a href="/"><span>Back</span></a></li>
  <li id="bt_profile" class="button"><span>My Profile</span></li>
  {% if is_user_admin %}
    <li id="bt_admin_users" class="button"><a href="/admin/user/list"><span>Users List</span></a></li>
    <li id="bt_admin_recipes" class="button"><a href="/admin/recipes/list"><span>Recipes List</span></a></li>
  {% endif%}
  </ul>
{% endblock %}
{% block main%}
        <form action="/admin/recipes/save" method="post">
          <div class="field"> Name: <input name="name" type="text" value="New Recipe"/> </div>
          <div class="field"> Descript: <textarea name="descript" rows="3" cols="60"></textarea></div>
	  <div id="bt_save" class="button"> <input name="submit" type="submit" value="Save"/></div>
        </form>
{% endblock %}
